package repeat.personal.exception;

/**
 * Created by Zhanggq on 2019/7/10.
 * 抛出此异常前端会弹出Popup窗口展示异常信息
 */
public class PopupException extends RuntimeException {
	private static final long serialVersionUID = 1L;

	private String msg;

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public PopupException(String msg) {
		super(msg);
		this.msg = msg;
	}

	public PopupException(String message, Throwable cause, String msg) {
		super(message, cause);
		this.msg = msg;
	}

	public PopupException(Throwable cause, String msg) {
		super(cause);
		this.msg = msg;
	}

	public PopupException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, String msg) {
		super(message, cause, enableSuppression, writableStackTrace);
		this.msg = msg;
	}
}
